package com.hz.web.controller;

import com.hz.util.FtpUtil;
import org.springframework.stereotype.Controller;

import java.io.InputStream;

/**
 * Created by kaddddd on 2018/5/8 0008.
 */
public class UploadController {
    boolean upload(String pathname, String fileName,String originfilename){
        FtpUtil ftpUtil = new FtpUtil();
        return ftpUtil.uploadFile(pathname, fileName, originfilename);
    }
}
